﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using FlatRedBall;
using FlatRedBall.Graphics;
using FlatRedBall.Math.Geometry;
using FlatRedBall.Input;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;

using FlatRedBall.Graphics.Animation;

using ROMAP.Utilities;

namespace ROMAP.Entities.Enemies
{
    public abstract class Enemy : Entity
    {
        private Sprite _sprite;

        public float xstart;
        public float ystart;

        public AxisAlignedRectangle Collision
        {
            get;
            protected set;
        }
        public AxisAlignedRectangle PulseCollision
        {
            get;
            protected set;
        }

        protected virtual void Initialize()
        {
            base.Initialize();
        }

        public virtual void Destroy()
        {
            SpriteManager.RemoveSprite(_sprite);
            SpriteManager.RemovePositionedObject(this);
            ShapeManager.Remove(Collision);
            ShapeManager.Remove(PulseCollision);
        }


                        

    }
}       

